//
//  ImageCache.h
//  RBIOSBase
//
//  Created by ren on 20/11/2017.
//  Copyright © 2017 bryan. All rights reserved.
//

#import <Foundation/Foundation.h>

@class ImageCacheConfig;

@interface ImageCache : NSObject

@property (nonatomic, nonnull, readonly) ImageCacheConfig *config;

+ (nonnull instancetype)shareCache;

- (nonnull instancetype)initWithNameSpace:(nonnull NSString *)nameSpace;

- (nonnull instancetype)initWithNameSpace:(nonnull NSString *)nameSpace diskCacheDirectory:(nullable NSString *)directory NS_DESIGNATED_INITIALIZER;

@end
